﻿using System;
using System.IO;

namespace JTActiveSafety.Gateway.Internal
{
    /// <summary>
    /// Represents an Terminal request error
    /// </summary>
    public class BadTerminalRequestException : IOException
    {
 
        public BadTerminalRequestException(string message, int statusCode)
            : base(message)
        {
            StatusCode = statusCode;
        }

 
        public BadTerminalRequestException(string message, int statusCode, Exception innerException)
            : base(message, innerException)
        {
            StatusCode = statusCode;
        }
 
        public int StatusCode { get; }
    }


}